<?php
return array(
	'detailView' => array(
		'attributes' => array(
			'title',
			'category.title',
//			array(
//				'class' => 'ImageAttribute',
//				'name' => 'thumb',
//				'handle' => 'fileSaver'
//			),
			'worker.profile.nickname',
			array(
				'name' => 'is_recommend',
				'value' => Yii::app()->enum->lookup('yes2no', $model->is_recommend)
			),
			'update_time',
			'create_time',
			array(
				'name' => 'profile.content',
				'type' => 'raw',
			),
		),
	),
	'_import' => array(
		array('*', 'actions.view//*'),
	),
)

?>